package com.happy_hao.msg.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("templates")
public class Template {

    @TableId("template_id")
    private Long templateId;

    @TableField("title")
    private String title;

    @TableField("subject")
    private String subject;

    @TableField("content")
    private String content;

    @TableField("create_at")
    private Date createAt;

    @TableField("update_at")
    private Date updateAt;

}
